package com.sgcc.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sgcc.common.core.annotation.Excel;
import com.sgcc.common.core.web.domain.BaseEntity;

/**
 * 节假日管理对象 jjrgl
 * 
 * @author sgcc
 * @date 2021-03-29
 */
public class Jjrgl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 假期名称 */
    @Excel(name = "假期名称")
    private String jqmc;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date kssj;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date jssj;

    /** 类型 */
    @Excel(name = "类型")
    private String lx;

    /** 年份 */
    @Excel(name = "年份")
    private String nf;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setJqmc(String jqmc) 
    {
        this.jqmc = jqmc;
    }

    public String getJqmc() 
    {
        return jqmc;
    }
    public void setKssj(Date kssj) 
    {
        this.kssj = kssj;
    }

    public Date getKssj() 
    {
        return kssj;
    }
    public void setJssj(Date jssj) 
    {
        this.jssj = jssj;
    }

    public Date getJssj() 
    {
        return jssj;
    }
    public void setLx(String lx) 
    {
        this.lx = lx;
    }

    public String getLx() 
    {
        return lx;
    }
    public void setNf(String nf) 
    {
        this.nf = nf;
    }

    public String getNf() 
    {
        return nf;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("jqmc", getJqmc())
            .append("kssj", getKssj())
            .append("jssj", getJssj())
            .append("lx", getLx())
            .append("nf", getNf())
            .toString();
    }
}
